package com.cskaoyan.javase._1interface._4example.model;

/**
 * 使用对象数组,模拟数据源
 * @since 15:08
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class GoodsData {
    public static final Goods[] GS = new Goods[10];

    static {
        GS[0] = new Goods(1, "iPhone 13 512G", 8000, "苹果");
        GS[1] = new Goods(2, "iPhone 12 512G", 6000, "苹果");
        GS[2] = new Goods(3, "小米13", 5000, "小米");
        GS[3] = new Goods(4, "罗技鼠标", 1000, "罗技");
        GS[4] = new Goods(5, "拯救者笔记本", 8000, "联想");
    }
}
